﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Estimate.Common.Repository
{
    /// <summary>
    /// 获取温度实况数据的数据库操作类
    /// </summary>
    public class TempRealRepositoryFactory
    {
        /// <summary>
        /// 获取自动站实况数据的数据库操作类
        /// </summary>
        public static TempRealRepository AutoStationTempRealRepository(string connectionString)
        {
            return new TempRealRepository(connectionString, "AutoTempReal");
        }


        /// <summary>
        /// 获取人工站实况数据的数据库操作类
        /// </summary>
        public static TempRealRepository ManualTempRealRepository(string connectionString)
        {
            return new TempRealRepository(connectionString, "ManualTempReal");
        }
    }
}
